$OpenBSD: patch-src_modules_userinterface_legacymenu_CMakeLists_txt,v 1.3 2016/09/20 18:18:52 pascal Exp $
--- src/modules/userinterface/legacymenu/CMakeLists.txt.orig	Mon Apr 18 17:37:07 2016
+++ src/modules/userinterface/legacymenu/CMakeLists.txt	Tue Sep 20 01:28:41 2016
@@ -63,6 +63,10 @@ ENDIF(OPTION_SDL2)
 
 ADD_ENET_INCLUDEDIR()
 
+IF(UNIX)
+    INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR})
+ENDIF(UNIX)
+
 IF(WIN32)
     # DLL export stuff under Windows (to avoid .def file)
     ADD_DEFINITIONS(-DLEGACYMENU_DLL)
